package com.ruoyi.project.countrybus.mapper;

import java.util.List;
import com.ruoyi.project.countrybus.domain.SysDispatchCustomer;

/**
 * 乘客调度站点Mapper接口
 *
 * @author yangwenbo
 * @date 2022-04-26
 */
public interface SysDispatchCustomerMapper
{
    /**
     * 查询乘客调度站点
     *
     * @param scheduleId 乘客调度站点主键
     * @return 乘客调度站点
     */
    public SysDispatchCustomer selectSysDispatchCustomerByScheduleId(Long scheduleId);

    /**
     * 查询乘客调度站点列表
     *
     * @param sysDispatchCustomer 乘客调度站点
     * @return 乘客调度站点集合
     */
    public List<SysDispatchCustomer> selectSysDispatchCustomerList(SysDispatchCustomer sysDispatchCustomer);

    /**
     * 新增乘客调度站点
     *
     * @param sysDispatchCustomer 乘客调度站点
     * @return 结果
     */
    public int insertSysDispatchCustomer(SysDispatchCustomer sysDispatchCustomer);

    /**
     * 修改乘客调度站点
     *
     * @param sysDispatchCustomer 乘客调度站点
     * @return 结果
     */
    public int updateSysDispatchCustomer(SysDispatchCustomer sysDispatchCustomer);

    /**
     * 删除乘客调度站点
     *
     * @param scheduleId 乘客调度站点主键
     * @return 结果
     */
    public int deleteSysDispatchCustomerByScheduleId(Long scheduleId);

    /**
     * 批量删除乘客调度站点
     *
     * @param scheduleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysDispatchCustomerByScheduleIds(Long[] scheduleIds);
}
